/**
 *  @互联家
 *  @互联家 提取现金发送申请页面
 */
import React, { Component } from 'react';
import { StyleSheet, View, Text, Image, Button } from 'react-native';

/**
 *  @style 
 *  @主要样式导入
 */
import applyExamineStyle from "../styles/applyExamine";

/**
 *  @icon
 *  @图片引入
 */
const applySuccessImage = require('../assets/images/icon/applyFeeSuccess.png');

export default class ApplyExamine extends Component {

  static navigationOptions = {
    headerTitle: '提现申请',
    headerRight: <View />,
  };

  render() {
    return (
      <View style={styles.ApplyExamineBox}>
        <View style={styles.container}>
          <View style={styles.ApplyFeeTheme}>
            <Image style={styles.ApplyFeeThemeIcon} source={applySuccessImage} />
            <Text style={styles.ApplyFeeThemeTipsOne}>提现申请提交成功</Text>
            <Text style={styles.ApplyFeeThemeTipsTwo}>我们将在三个工作日内处理您的提现申请</Text>
          </View>

          <View style={styles.ApplyFeeIns}>
            <Text style={styles.ApplyFeeInsName}>提现金额</Text>
            <Text style={styles.ApplyFeeInsNum}>¥9999.00</Text>
          </View>
          <View style={styles.ApplyFeeIns}>
            <Text style={styles.ApplyFeeInsName}>手续费及税金</Text>
            <Text style={styles.ApplyFeeInsNum}>¥99.00</Text>
          </View>
          <View style={styles.ApplyFeeIns}>
            <Text style={styles.ApplyFeeInsName}>到账</Text>
            <Text style={styles.ApplyFeeInsBoldNum}>¥9900.00</Text>
          </View>

          <View style={styles.applyComplete}>
            <Button
              title="完成"
              color="#0766f1"
              accessibilityLabel="完成提现申请返回主页"
              onPress={() => this.props.navigation.navigate('Index')}
            />
          </View>
        </View>
      </View>
    );
  };

};

const styles = StyleSheet.create(applyExamineStyle);